package com.snopy.designPattern.create.builder;

import com.snopy.enums.ScreenEnum;
import lombok.extern.slf4j.Slf4j;

/**
 * @author snopy
 * @version 1.0.0
 * @classname BuilderDemo
 * @description
 * @email 77912204@qq.com
 * @date 2022/03/01 21:05
 */
@Slf4j
public class BuilderDemo {
    public static void main(String[] args) {
        Director director = new Director();

        Phone phone = director.createPhone(16, ScreenEnum.LCD);
        log.info(phone.toString());
    }
}
